package com.gdziarmaga.webshop.transaction.services;

import java.util.List;

import com.gdziarmaga.webshop.transaction.model.Transaction;
import com.gdziarmaga.webshop.transaction.model.TransactionBook;
import com.gdziarmaga.webshop.utils.filtering.BaseFilter;

public interface TransactionManager {

	Transaction getTransactionById(Long transactionId);

	List<Transaction> getTransactionByFilter(final BaseFilter filter);
	
	List<TransactionBook> getTransactionBookByFilter(final BaseFilter filter);

	void deleteTransaction(Long transactionId);

	void saveTransaction(final Transaction transaction);

	void saveTransactionBook(final TransactionBook transactionBook);

}
